HiveMQ Swarm Monitoring :: HiveMQ Documentation

您所在的位置:网站首页 Dropwizard Metrics Histograms HiveMQ Swarm Monitoring :: HiveMQ Documentation

HiveMQ Swarm Monitoring :: HiveMQ Documentation

2023-03-12 22:08| 来源: 网络整理| 查看: 265

InfluxDB is a widely-used open-source time-series database that is written in Go and optimized for fast, high-availability storage and retrieval of time-series data. InfluxDB is a popular choice for gathering and visualizing application metrics.

You can configure the InfluxDB connection in two ways:

Environment-variable based configuration

File-based configuration.

Environment-variable Based Configuration

The following environment variables are available for configuration of your InfluxDB connection:

Variable

Definition

SWARM_INFLUXDB_HOST

InfluxDB host

SWARM_INFLUXDB_DATABASE

The name of the InfluxDB database

SWARM_INFLUXDB_AUTH

Optional string used for basic HTTP authorization. For example, admin:admin.

SWARM_INFLUXDB_PREFIX

Optional prefix of all metrics with the specified string

SWARM_INFLUXDB_INTERVAL

Interval how often to send to influxDB (in seconds)

SWARM_INFLUXDB_TAG_HOSTNAME

Adds the InfluxDB tag hostname

SWARM_INFLUXDB_TAG_{SUFFIX}

Adds the InfluxDB tag {suffix}

File-based InfluxDB Configuration

If no InfluxDB configuration can be acquired via environment variables, HiveMQ Swarm looks for the configuration in the HiveMQ Swarm config.xml configuration file.

myInfluxDB http://localhost:8086 authString 20m myPrefix myTag myValue


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3